﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucItemDetail.ascx.cs"
    Inherits="ucControl_ucItemDetail" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div style="padding-top: 7px">
    <asp:FormView ID="frmViewDetail" runat="server">
        <ItemTemplate>
            <table id="hienthi" style="border: 1px solid #cccccc">
                <tr>
                    <td colspan="2" style="width: 100%;" class="head_shop" >
                        <b>Chi tiết sản phẩm </b>
                    </td>
                </tr>
                <tr>
                    <td style="width: 280px; height: 250px; text-align: center; padding-left: 7px" valign="top">
                      <a id="A1" rel="lightbox-mygallery" runat="server" title='<%# Eval("ItemNumber") %>'
                                href='<%# "~/ImageProcess.ashx?file=" + "~/Admin/images/Items/" + Eval("ImageURL")  %>'>
                        <asp:Image ID="imgItem" runat="server" ImageUrl='<%# "~/ImageProcess.ashx?file=" + "~/Admin/images/items/" + Eval("ImageURL") + "&width=200&heigh=200&dd=true" %>'
                            ToolTip='<%# Eval("ItemName") %>' />
                        <br />
                       </a>
                    </td>
                    <td valign="top">
                        <table cellpadding="3" cellspacing="3" width="100%">
                            <tr id="hr">
                                <td>
                                   <b style="color: Red"> <asp:Label ID="Label1" runat="server" Text='<%# Server.HtmlDecode(Eval("ItemName").ToString())%>'></asp:Label></b>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                   
                                  <span style="line-height: 22px">  <%# Server.HtmlDecode(Eval("ItemDescription").ToString())%></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</div>
<div>
    <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
        <asp:TabPanel ID="tab1" runat="server">
            <HeaderTemplate>
                <b style="font-size: 12px">Đặc tính nổi bật</b>
            </HeaderTemplate>
            <ContentTemplate>
                <asp:Repeater ID="rpItem" runat="server">
                    <HeaderTemplate>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <table width="100%" style="font-size: 12px; font-family: Tahoma, Arial, Helvetica,sans-serif;
                            line-height: 22px; border: 1px solid #">
                            <tr>
                                <td rowspan="3" style="padding-left: 7px">
                                    <%# Server.HtmlDecode(Eval("Features").ToString())%>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:Repeater>
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="TabPanel1" runat="server">
            <HeaderTemplate>
                <b style="font-size: 12px">Thông tin kỹ thuật</b>
            </HeaderTemplate>
            <ContentTemplate>
                <asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <table width="100%" style="font-size: 12px; font-family: Tahoma, Arial, Helvetica,sans-serif;
                            line-height: 22px; border: 1px solid #cccccc;">
                            <tr>
                                <td rowspan="3" style="padding-left: 7px">
                                    <%# Server.HtmlDecode(Eval("Specification").ToString())%>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:Repeater>
            </ContentTemplate>
        </asp:TabPanel>
    </asp:TabContainer>
</div>
